package com.example.reference_book.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 留言表(Message)实体类
 *
 * @author makejava
 * @since 2022-06-07 23:08:12
 */
public class Message implements Serializable {
    private static final long serialVersionUID = 109212052112511970L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 书籍id
     */
    private Integer bookId;
    /**
     * 用户昵称
     */
    private String userName;
    /**
     * 评论时间
     */
    private Date tuTime;
    /**
     * 删除标志位
     */
    private Integer isDelete;
    /**
     * 留言标题
     */
    private String title;
    /**
     * 留言内容
     */
    private String content;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getTuTime() {
        return tuTime;
    }

    public void setTuTime(Date tuTime) {
        this.tuTime = tuTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}

